package cn.chuxing.rpc.controller;

import cn.chuxing.rpc.api.PlUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by cooper on 2018/1/15.
 */
@RestController
public class PlUserController {

    @Autowired
    private PlUserService plUserService;

    @RequestMapping("/getUser")
    public Object sayHello(){
        return plUserService.selectByPrimaryKey(1);
    }
}
